package com.bcn.login_mybatisplus_demo.diary.mapper;

import com.bcn.login_mybatisplus_demo.diary.domain.TAppDiary;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 心岛日志Mapper接口
 * 
 * @author administrator
 * @date 2025-03-11
 */
@Mapper
public interface TAppDiaryMapper 
{
    /**
     * 查询心岛日志
     * 
     * @param diaryId 心岛日志ID
     * @return 心岛日志
     */
    public TAppDiary selectTAppDiaryById(Integer diaryId);

    /**
     * 查询心岛日志列表
     * 
     * @param tAppDiary 心岛日志
     * @return 心岛日志集合
     */
    public List<TAppDiary> selectTAppDiaryList(TAppDiary tAppDiary);

    /**
     * 新增心岛日志
     * 
     * @param tAppDiary 心岛日志
     * @return 结果
     */
    public int insertTAppDiary(TAppDiary tAppDiary);

    /**
     * 修改心岛日志
     * 
     * @param tAppDiary 心岛日志
     * @return 结果
     */
    public int updateTAppDiary(TAppDiary tAppDiary);

    /**
     * 删除心岛日志
     * 
     * @param diaryId 心岛日志ID
     * @return 结果
     */
    public int deleteTAppDiaryById(Integer diaryId);

    /**
     * 批量删除心岛日志
     * 
     * @param diaryIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteTAppDiaryByIds(String[] diaryIds);
}
